#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int a = 3, b = 2, c = 1;
	int max = a > b ? (a > c ? (a) : (c)) : (b > c ? (b) : (c));
	printf("max=%d\n",max);
	return 0;
}